FROM java
VOLUME /tmp
ADD property-0.0.1-SNAPSHOT.jar app.jar
RUN sh -c 'touch /schoolmanage.jar'
ENV JAVA_OPTS="-Xms:512m -Xmx:512m"
ENTRYPOINT [ "sh", "-c", "java $JAVA_OPTS -jar /app.jar" ]